<?php
/**
 * User: 五哥派
 * Date: 2024/6/25
 * Tel(同WX): 17335592719
 */

namespace app\admin\controller;

class Index extends Base{

    public function index(){
        return $this->fetch();
    }

    public function welcome(){
        //$count_user = db('user')->count();
        //$count_goods = db('goods')->count();
        //$count_order = db('order')->where('delete_time is null')->count();
        //本日总订单、本日总金额
        //本周总订单、本周总金额
        //本月总订单、本月总金额


        //$this->assign('count_user', $count_user);
        //$this->assign('count_goods', $count_goods);
        //$this->assign('count_order', $count_order);
        return $this->fetch();
    }

}

